package it.unisa.ingegneria.tdp.esercitazione5;

/**
 * Interfaccia per la gestione del Grafo.
 **/
public interface GraphInterface <T> {
	
	public  Iterable<MyVertex<T>> vertices();
	
	public  Iterable<MyEdge<T>> edges();
	
	public  MyVertex<T> insertVertex(T e);
	
	public  MyEdge<T> insertEdge(MyVertex<T> s,MyVertex<T> d, int weight);
	
	public  Iterable<MyEdge<T>> outgoingEdges(MyVertex<T> v);
	
	public int numEdges();
	
	public int numVertices();

	
	
	
}
